/* creat.c
 *	Simple program to test whether creating program works.
 *	
 *	Creates a file if all is well
 *
 */

#include "syscall.h"

char buff[100];

int
main()
{
    buff[0] = 'h';
    buff[1] = 'i';

    write(1,buff,5);

    int id = creat("printftest.txt");
    printf(buff);

    halt();
}

